<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 16:30
 * 添加企业权限角色
 */
$or_name              = $route->bodyParams['or_name'];               //角色名称
$or_oesid              = $route->bodyParams['or_oesid'];               //角色所属的企业ID
$or_isAll              = $route->bodyParams['or_isAll'];             



//写入数组
$insertArr = [
    'or_name'   => $or_name,
    'or_oesid'  => $or_oesid,
    'or_isAll'  => $or_isAll
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_role",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );